/***********************************************************************
 * Module:  Customer.java
 * Author:  ZhangYQ
 * Purpose: Defines the Class Customer
 ***********************************************************************/

package office.bo.sale.impl;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import platform.common.bo.PersistenceBO;
/**
 * 客户信息管理
 * @author ZhangYQ
 *
 */
public class CustomerFamily extends PersistenceBO{
	private static final long serialVersionUID = 1L;
	private String companyName; //公司名称
	private String name;    //名称
	private String job;     //职务
	private int age;        //年龄
	private String sex;     //性别
	private String relation;  //与客户之间的关系
	private String telePhone; //座机
	private String phone;     //手机
	private String writeMan;      //登记人
	private Date  createDate;     //登记日期
	private Date  updateDate;     //修改日期
	private Customer customer;
	private Set<CustomerFamilyInfo> setInfo = new HashSet<CustomerFamilyInfo>();
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getWriteMan() {
		return writeMan;
	}
	public void setWriteMan(String writeMan) {
		this.writeMan = writeMan;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public Set<CustomerFamilyInfo> getSetInfo() {
		return setInfo;
	}
	public void setSetInfo(Set<CustomerFamilyInfo> setInfo) {
		this.setInfo = setInfo;
	}
	public String getRelation() {
		return relation;
	}
	public void setRelation(String relation) {
		this.relation = relation;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getTelePhone() {
		return telePhone;
	}
	public void setTelePhone(String telePhone) {
		this.telePhone = telePhone;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
}